<a href='https://github.com/angular/angular.js/edit/v1.6.x/docs/content/error/$sce/itype.ngdoc?message=docs(error%2Fitype)%3A%20describe%20your%20change...' class='improve-docs btn btn-primary'><i class="glyphicon glyphicon-edit">&nbsp;</i>Improve this Doc</a>


<h1>Error: $sce:itype
  <div><span class='hint'>String Value is Required for SCE Trust Call</span></div>
</h1>

<div>
    <pre class="minerr-errmsg" error-display="Attempted to trust a non-string value in a content requiring a string: Context: {0}">Attempted to trust a non-string value in a content requiring a string: Context: {0}</pre>
</div>

<h2>Description</h2>
<div class="description">
  <p><a href="api/ng/service/$sce#trustAs">$sce.trustAs</a> requires a string value.</p>
<p>Read more about <a href="api/ng/service/$sce">Strict Contextual Escaping (SCE)</a> in AngularJS.</p>

</div>


